# -*- coding: utf-8 -*-
# @Time    : 2021/3/23 21:22
# @Author  : N
# @Email   : 
# @File    : 2.py.py
# @Software: PyCharm
#1
# a=int(input("请输入一个0~100的数："))
# if str(a).isdigit():
#     if (85<=a<=100):
#         print("优秀")
#     if (60<=a<85):
#         print("良好")
#     if (0<=a<60):
#         print("不及格")
# else:
#     print("输出的不是数字")

#2
# a=8
# for i in range(3):
#     b=input("请输入一个数：")
#     if str(b).isdigit():
#         c=int(b)
#         if (c>a):
#             print("大了")
#         elif (c<a):
#             print("小了")
#         else:
#             (a==c)
#             print("对了")
#             break
#         if (i<2):
#             print("你还有",2-i,"机会")
#         else:
#             print("你没有机会了")
#
#     else:
#        print("你输入的不是一个数字")

#3
# 输出100-500之间的质数
# for i in range(100,500):
#     for a in range(2,i):
#         if i % a == 0:
#             break
#     else:
#        print(i)

#4
#打印1-50以内整数的和
# a = int()
# for i in range(0,51):
#     a += i
# print(a)



